// import { ElNotification } from "element-plus";
// var notificationInstance = null;
// export default (option) => {
//     notificationInstance && notificationInstance.close()
//     notificationInstance = ElNotification(option)

// }



// import { ElNotification } from "element-plus"
// var notificationInstance = null
// export default (option) => {
//     notificationInstance && notificationInstance.close()
//     notificationInstance = ElNotification(option)
// }  




import { ElNotification } from "element-plus";
var notificationInstance = null
    //1.
export default (option) => {
    notificationInstance && notificationInstance.close()
    notificationInstance = ElNotification(option)
}